package com.cch.cooperation.dao.zone.model;

import java.util.Date;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 
 *
 * @author cch on 2024-10-06
 */
@ApiModel("")
@Data
public class ZoneUserApply implements Serializable {

    @ApiModelProperty("id")
    private String id;

    @ApiModelProperty("用户id")
    private String userId;

    @ApiModelProperty("空间id")
    private String zoneId;

    @ApiModelProperty("申请状态(0.待处理 1.通过 2.拒绝)")
    private Integer status;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("审核时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date auditTime;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    public static final String ID = "id";
    public static final String USER_ID = "user_id";
    public static final String ZONE_ID = "zone_id";
    public static final String STATUS = "status";
    public static final String REMARK = "remark";
    public static final String AUDIT_TIME = "audit_time";
    public static final String CREATE_TIME = "create_time";

}